package cn.chencq.proxy.timer.task;

import java.util.Properties;
import java.util.Timer;

import cn.chencq.proxy.util.PropertiesUtils;

public class ProxyIPTimerManager {

	public void run() {
		Timer timer = new Timer();
		Properties p = PropertiesUtils.getProperties("quaz.properties");
		int time = Integer.parseInt(p.getProperty("time"));
		timer.schedule(new ProxyIPTask(), 10 * 1000l, time * 1000l);
	}

}
